package com.llxz.blog.ucenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Created by IntelliJ IDEA.
 *
 * @author lyq
 * @description: 启动类
 * date: 2021/9/3 15:03
 */

@SpringBootApplication
@ComponentScan(basePackages = {"com.llxz"})
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.llxz.blog.ucenter.mapper")
@EnableScheduling//开启定时任务

public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class,args);
    }
}
